package micro.service.login;

import micro.Dao.login.HrMapper;
import micro.pojo.employee;
import micro.pojo.hr;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 袁子丰
 */
@Service("hrService")
public class hrService implements HrMapper {
    @Autowired
    private HrMapper hrMapper;
    @Override
    public hr login(String username) {
        return hrMapper.login(username);}

    @Override
    public List<employee> listFun() {
        return hrMapper.listFun();
    }

    @Override
    public List<employee> Fun(String name) {
        return hrMapper.Fun(name);
    }
}
